package com.lemon.smartsafetynew.entity.message;

/**
 * Created by Andrew on 2018/4/23.
 */

public class MessageBo {

    public enum MessageType {

        notice("1", "公 告"),
        hidden("2", "隐 患"),
        warn("3", "预 警");

        private String value;
        private String desc;

        MessageType(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }

    public enum MessageStatus {

        normal("0", "没有未读消息"),
        remind("1", "提醒未读消息");

        private String value;
        private String desc;

        MessageStatus(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }
}
